<?php

  require_once "JooS/Server/Presentation/Abstract/Xsl.php";

  class JooS_Server_Presentation_Html extends JooS_Server_Presentation_Abstract_Xsl {
    protected function getDocumentPublicId() {
      return "-//W3C//DTD XHTML 1.0 Transitional//EN";
    }

    protected function getDocumentSystemId() {
      return "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";
    }

    public function getContentType() {
      return "text/html";
    }

    protected function getTransformOutputAttributes() {
      return array(
        "method" => "xml", 
        "indent" => "yes", 
        "omit-xml-declaration" => "yes", 
        "doctype-public" => $this->getDocumentPublicId(), 
        "doctype-system" => $this->getDocumentSystemId()
      );
    }
  }

?>